const Router = require('koa-router');
const { create } = require('../controller/user.controller')
const { verifyUser, handlepassword } = require('../middleware/user.middleware')

const userRouter = new Router({ prefix: '/users' });

userRouter.post('/', verifyUser, handlepassword, create)

module.exports = userRouter;